package com.bootdo.screen.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.screen.dao.PtclusterserverDao;
import com.bootdo.screen.domain.PtclusterserverDO;
import com.bootdo.screen.service.PtclusterserverService;



@Service
public class PtclusterserverServiceImpl implements PtclusterserverService {
	@Autowired
	private PtclusterserverDao ptclusterserverDao;
	
	@Override
	public PtclusterserverDO get(Integer id){
		return ptclusterserverDao.get(id);
	}
	
	@Override
	public List<PtclusterserverDO> list(Map<String, Object> map){
		return ptclusterserverDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return ptclusterserverDao.count(map);
	}
	
	@Override
	public int save(PtclusterserverDO ptclusterserver){
		return ptclusterserverDao.save(ptclusterserver);
	}
	
	@Override
	public int update(PtclusterserverDO ptclusterserver){
		return ptclusterserverDao.update(ptclusterserver);
	}
	
	@Override
	public int remove(Integer id){
		return ptclusterserverDao.remove(id);
	}
	
	@Override
	public int batchRemove(Integer[] ids){
		return ptclusterserverDao.batchRemove(ids);
	}

	@Override
	public int saveUpdate(PtclusterserverDO ptclusterserver) {
		return  ptclusterserverDao.saveUpdate(ptclusterserver);
	}

}
